package com.quasar.hpatient.bean.doctor_chat;

import lib.quasar.recycler.model.MultModel;

/**
 * description: 聊天菜单控制面板
 * created by kalu on 2018/7/13 16:11
 */
public final class ChatMenuBean implements MultModel {

    public final static int TYPE_EMOJI = MultModel.TYPE_1;
    public final static int TYPE_MENU = MultModel.TYPE_2;

    private int menuType = TYPE_MENU;
    private String menuText = "";
    private String menuIcon = "";

    @Override
    public int getMultType() {
        return menuType;
    }

    public int getMenuType() {
        return menuType;
    }

    public void setMenuType(int menuType) {
        this.menuType = menuType;
    }

    public String getMenuText() {
        return menuText;
    }

    public void setMenuText(String menuText) {
        this.menuText = menuText;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public boolean isEmoji() {
        return menuType == MultModel.TYPE_1;
    }

    public boolean isCamera() {
        return "相册".equals(menuText);
    }
}
